package cn.iocoder.yudao.module.scrm.controller.admin.customer.vo.customerrepository;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.List;


@Schema(description = "管理后台 - 客户库规则新增/修改 Request VO")
@Data
public class CustomerRepositoryRuleSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19189")
    private Integer id;

    @Schema(description = "关联的客户库id", example = "3774")
    private Integer customerRepositoryId;

    @Schema(description = "使用部门id范围")
    private List<Long>  deptIds;

    @Schema(description = "使用部门下的人员id范围(保留字段)")
    private List<Long> userIds;

    @Schema(description = "规则名称(保留字段)", example = "张三")
    private String ruleName;

    @Schema(description = "显示类型0部门  1人员(保留字段)", example = "1")
    private String type;

    @Schema(description = "私库容量", example = "14822")
    private Integer customerCount;

    @Schema(description = "允许锁定客户数")
    private Integer customerCountLock;

}